import request from '@/utils/request'

export const getArticles = params => {
  return request.get('/interview/query', {
    params
  })
}

export const getArticlesCollect = params => request.get('/interview/opt/list', { params })

export const getDetail = id => request.get('/interview/show', {
  params: {
    id: id
  }
})

export const updateFlag = data => request.post('/interview/opt', data)
